setTimeout(() => {
  console.log(1);
  Promise.resolve().then((_) => {
    console.log("p1");
  });
  Promise.resolve().then((_) => {
    console.log("p2");
  });
  Promise.resolve().then((_) => {
    console.log("p2");
  });
  Promise.resolve().then((_) => {
    console.log("p2");
  });
});

setTimeout(() => {
  console.log(122);
  Promise.resolve().then((_) => {
    console.log("p11");
  });
  Promise.resolve().then((_) => {
    console.log("p22");
  });
});
Promise.resolve().then((_) => {
  console.log("p11ss");
  setTimeout(() => {
    console.log("最后");
  });
});
